24d84e4fbf3bfabcc53dbf78edb2851d028d4038,examples/voltcache/src/voltcache/api/VoltCacheResult.java,VoltCacheResult,get,#Type#ClientResponse#,84

Before Change


    {
        if (type == Type.CODE)
        {
            return new VoltCacheResult(response.getResults()[0].fetchRow(0).getLong(0));
        }
        else if (type == Type.DATA)
        {

After Change


    {
        if (type == Type.CODE)
        {
            return _CODES[(int)response.getResults()[0].asScalarLong()];
        }
        else if (type == Type.DATA)
        {